class Phone:
    producer = "ITCAST"  # 厂商

    def call_by_5g(self):
        print("使用5g网络进行通话")

class Myphone(Phone):
    # 重写父类的厂商属性
    producer = 'ICC'

    def call_by_5g(self):
        # 子类中调用父类的成员
        # 方式1: 直接使用父类名字调用
        # print(f"父类的厂商是：{Phone.producer}")
        # Phone.call_by_5g(self)

        # 使用 super 关键字
        print(f"父类的厂商是：{super().producer}")
        super().call_by_5g()

myphone = Myphone()
print(Phone.producer)
myphone.call_by_5g()